class Relationship < ApplicationRecord
	belongs_to :user, class_name: "User", foreign_key: "comment_id"
	belongs_to :post, class_name: "Post", foreign_key: "post_id"
	validates :comment_id, presence: true
	validates :comment, presence: true


end
